package com.vanrui.pcp.autocode.model.entry;

public class Field {
	
	private String columnName;//�ֶ�����ݱ��е�����
	private String fieldName;//�ֶ�����
	private String fieldMethodName;//�ֶε�getter��setter��Ӧ������
	private String fieldComment;//�ֶε�ע��
	private String fieldType;//�ֶ����ͣ���Ƶ�����
	private String columnType;//��ݿ�������ֶ�����
	private Object defaultValue;//��ݿ����ֶε�Ĭ��ֵ
	
	public String getFieldName() {
		return fieldName;
	}
	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}
	public String getFieldMethodName() {
		return fieldMethodName;
	}
	public void setFieldMethodName(String fieldMethodName) {
		this.fieldMethodName = fieldMethodName;
	}
	public String getFieldType() {
		return fieldType;
	}
	public void setFieldType(String fieldType) {
		this.fieldType = fieldType;
	}
	public String getFieldComment() {
		return fieldComment;
	}
	public void setFieldComment(String fieldComment) {
		this.fieldComment = fieldComment;
	}
	public String getColumnName() {
		return columnName;
	}
	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}
	public String getColumnType() {
		return columnType;
	}
	public void setColumnType(String columnType) {
		this.columnType = columnType;
	}
	public Object getDefaultValue() {
		return defaultValue;
	}
	public void setDefaultValue(Object defaultValue) {
		if(defaultValue != null){
			this.defaultValue = defaultValue;
		}else{
			this.defaultValue = "";
		}
	}

}
